package com.zyzd.baseretrofit.bean.remote;

import java.io.Serializable;


/**
 * Created by 李宗源 on 2016/11/8.
 * api数据基本bean
 */

public class ApiResultBean<T> implements Serializable {

    private String message;//状态说明
    private T data;//数据信息
    private int errorNo;//状态码

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getErrorNo() {
        return errorNo;
    }

    public void setErrorNo(int errorNo) {
        this.errorNo = errorNo;
    }

    @Override
    public String toString() {
        return "ApiResultBean{" +
                "message='" + message + '\'' +
                ", data=" + data +
                ", errorNo=" + errorNo +
                '}';
    }
}
